package com.example.chessbattleplatform.web.room_board.Pojo.dto;

import com.example.chessbattleplatform.web.room_board.Pojo.Vo.Pieces;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UpdatePiecesDto {
    private Pieces oldPieces;
    //下一次位置
    private int nextPieceX;
    private int nextPieceY;
    //操作类型
    // 1.移动 ：MOVE
    // 2.吃子 ：CAPTURE
    private String typeOperation;
}
